//
//  RecommentTableViewCell.m
//  PhoenixNews
//
////  Copyright © 2016年 dllo. All rights reserved.

//

#import "RecommentTableViewCell.h"

@implementation RecommentTableViewCell
- (void)dealloc {
    [_title release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.title = [[UILabel alloc] init];
        self.title.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_title];
        [_title release];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.title.frame = CGRectMake(5, 5, self.frame.size.width - 40, 80);
    self.title.numberOfLines = 0;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
